home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_08_11 / 8n11086a < prev    next >
Text File  |  1990-09-16  |  267b  |  16 lines

  1.  
  2.     class Rfile : public File {
  3.     public:
  4.         Rfile( char *name = "") : ( name, "r");
  5.         
  6.         int get()    { return File::get(); }
  7.     };
  8.  
  9.     class Wfile : public File {
  10.     public:
  11.         Rfile( char *name = "") : ( name, "w" );
  12.         
  13.         void put( int c)    { File::put( c); }
  14.     };
  15.  
  16.